<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title></title>
    <script src="d3.js" charset="utf-8"></script>
    <script>
    window.onload=function (){
      //let res=d3.color('rgb(255,128,0)');
      //let res=d3.color('#F00');
      //let res=d3.color('yellow');
      let res=d3.color('rgba(30%,45%,71%,0.5)');

      console.log(res);
    };
    </script>
  </head>
  <body>

  </body>
</html>
